package com.peak.distribution.manager.agent;

import com.peak.distribution.entity.agent.DisAgentAward;
import com.peak.spring.boot.api.manager.BaseManager;

/**
 * 代理商返利的数据库操作，带事务处理
 * @author peak
 * @see BaseManager
 *
 */
public interface DisAgentAwardManager extends BaseManager<DisAgentAward> {

	/**
	 * 根据代理商得到代理商返利的功能
	 * @param agentId
	 * @return
	 */
	DisAgentAward getByAgentId(Integer agentId);

}
